package day9;

import java.util.StringJoiner;

public class t9 {
    public static void main(String[] args) {
        StringJoiner sj=new StringJoiner(",","[","]");
        for(int i=1;i<11;i++){
            String s ="";
            s+=i;
            sj.add(s);
        }
        String str=sj.toString();
        System.out.println(str);
    }
}
